	<%@ page language="java" contentType="text/html; charset=UTF-8"  
	    pageEncoding="UTF-8"%>  
	    
	<!DOCTYPE html>  
	<html>  
	<head>  
	<meta charset="UTF-8">  
	<title>学生信息管理系统登录页面</title>  
	</head> 
	<style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f2f2f2;
        }
        #login {
            width: 300px;
            margin: 100px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        h1 {
            color: #333;
        }
        form {
            margin-top: 20px;
        }
        label {
            display: block;
            margin-bottom: 10px;
            color: #333;
        }
        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        button {
            padding: 10px 20px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #2980b9;
        }
        a {
            color: #3498db;
            text-decoration: none;
            margin-top: 10px;
            display: block;
        }
    </style> 
	<body>  
	<div id="login">  
	    <h1>学生信息管理系统</h1>  
	    <form method="post" action="LoginServlet">  
	        <div>  
	            <label for="user">用户名:</label>  
	            <input type="text" id="user" required="required" placeholder="用户名" name="user">  
	        </div>  
	        <div>  
	            <label for="password">密码:</label>  
	            <input type="password" id="password" required="required" placeholder="密码" name="password">  
	        </div>  
	        <div>  
	            <button type="submit">登录</button>  
	            <a href="register.jsp">注册</a>  
	        </div>  
	    </form>  
	</div>  
	</body>  
	</html>